package com.example.rjb_shoping.entity;

import lombok.Data;
import lombok.ToString;
import org.springframework.security.core.GrantedAuthority;

import java.io.Serializable;

/**
 * (RjbRule)实体类
 *
 * @author makejava
 * @since 2021-06-09 20:43:19
 */
@ToString
@Data
public class RjbRule implements Serializable,GrantedAuthority {
    private static final long serialVersionUID = -54132658690034471L;

    private Integer rId;

    private Integer rNumber;

    private String rRule;


    @Override
    public String getAuthority() {
        return this.rRule;
    }
}
